/**
 * Created by JetBrains PhpStorm.
 * User: Xnfy520@gmail.com
 * Date: 12-3-9
 * Time: 下午10:05
 */
$(function(){
    $("#clickcode").click(function(){
        this.src=this.src+'?id='+Math.random();
    });
    $("#insertcode").keyup(function(){
        if(this.value!=this.value.toUpperCase()){
            this.value=this.value.toUpperCase();
        }
    });
});